import { TGuildActivityConfig } from "../../../../Message/Db/Tables/TGuildActivityConfig";
type int = number;
//class GuildActivityConfigInfo
    
    export  class GuildActivityConfigInfo extends TGuildActivityConfig
    {
        constructor()
        {
            
            super();this._needLevelArray = [];
            this._recommendArray = [];
            this._itemCodes = [];
            return;
        }

        public parse(): void
        {
            this._needLevelArray = condition.split(",");
            this.roleNeedLevel = this._needLevelArray[0];
            this.guildNeedLevel = this._needLevelArray[1];
            this._recommendArray = recommend.split(",");
            if (items) 
            {
                this._itemCodes = items.split(",");
            }
            return;
        }

        public get recommendArray(): Array<any>
        {
            return this._recommendArray;
        }

        public get itemCodes(): Array<any>
        {
            return this._itemCodes;
        }

        public /* var */roleNeedLevel: int;

        public /* var */guildNeedLevel: int;

        /* internal */ /* var */_needLevelArray: Array<any>;

        /* internal */ /* var */_recommendArray: Array<any>;

        /* internal */ /* var */_itemCodes: Array<any>;
    }
